//
//  ParserNearbyAttraction_trip_tags.m
//  ITrip
//
//  Created by 1564335 on 15-5-29.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ParserNearbyAttraction_trip_tags.h"

@implementation ParserNearbyAttraction_trip_tags

- (void)dealloc
{
    [_name release];
    [super dealloc];
}
- (instancetype)init:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.attraction_contents = [NSMutableArray array];
        self.name = dic[@"name"];
        self.display_count = [[dic[@"display_count"] stringValue] integerValue];
        NSArray *array = dic[@"attraction_contents"];
        for (NSDictionary *dic in array) {
            ParNearbyAttraction_contents *par = [[ParNearbyAttraction_contents alloc] init:dic];
            [self.attraction_contents addObject:par];
        }
    }
    return self;
}


- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@""]) {
        
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
